package com.lic.license.core;

import java.io.Serializable;
import java.util.List;

/**
 * <p>自定义需要校验的License参数</p>

 */
public class LicenseCheck implements Serializable {

    private static final long serialVersionUID = 8600137500316662317L;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 版本
     */
    private String version;
    /**
     * 公司名称
     */
    private String companyName;

    /**
     * 是否认证ip
     */
    private boolean ipCheck;

    /**
     * 可被允许的IP地址
     */
    private List<String> ipAddress;

    /**
     * 是否认证mac
     */
    private boolean macCheck;

    /**
     * 可被允许的mac地址
     */
    private List<String> macAddress;

    /**
     * 是否认证cpu序列号
     */
    private boolean cpuCheck;

    /**
     * 可被允许的CPU序列号
     */
    private String cpuSerial;

    /**
     * 是否认证主板号
     */
    private boolean boardCheck;

    /**
     * 可被允许的主板序列号
     */
    private String mainBoardSerial;

    /**
     * 是否校验pc在线人数
     */
    private boolean pcCheck;
    /**
     * pc允许在线人数
     */
    private Integer pcNum;
    /**
     * 是否校验app在线人数
     */
    private boolean appCheck;
    /**
     * app允许在线人数
     */
    private Integer appNum;
    /**
     * 是否校验菜单
     */
    private boolean menuCheck;
    /**
     * 授权菜单
     */
    private List<String> menu;

    public boolean isMenuCheck() {
        return menuCheck;
    }

    public void setMenuCheck(boolean menuCheck) {
        this.menuCheck = menuCheck;
    }

    public List<String> getMenu() {
        return menu;
    }

    public void setMenu(List<String> menu) {
        this.menu = menu;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public boolean isIpCheck() {
        return ipCheck;
    }

    public void setIpCheck(boolean ipCheck) {
        this.ipCheck = ipCheck;
    }

    public List<String> getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(List<String> ipAddress) {
        this.ipAddress = ipAddress;
    }

    public boolean isMacCheck() {
        return macCheck;
    }

    public void setMacCheck(boolean macCheck) {
        this.macCheck = macCheck;
    }

    public List<String> getMacAddress() {
        return macAddress;
    }

    public void setMacAddress(List<String> macAddress) {
        this.macAddress = macAddress;
    }

    public boolean isCpuCheck() {
        return cpuCheck;
    }

    public void setCpuCheck(boolean cpuCheck) {
        this.cpuCheck = cpuCheck;
    }

    public String getCpuSerial() {
        return cpuSerial;
    }

    public void setCpuSerial(String cpuSerial) {
        this.cpuSerial = cpuSerial;
    }

    public boolean isBoardCheck() {
        return boardCheck;
    }

    public void setBoardCheck(boolean boardCheck) {
        this.boardCheck = boardCheck;
    }

    public String getMainBoardSerial() {
        return mainBoardSerial;
    }

    public void setMainBoardSerial(String mainBoardSerial) {
        this.mainBoardSerial = mainBoardSerial;
    }

    public boolean isPcCheck() {
        return pcCheck;
    }

    public void setPcCheck(boolean pcCheck) {
        this.pcCheck = pcCheck;
    }

    public Integer getPcNum() {
        return pcNum;
    }

    public void setPcNum(Integer pcNum) {
        this.pcNum = pcNum;
    }

    public boolean isAppCheck() {
        return appCheck;
    }

    public void setAppCheck(boolean appCheck) {
        this.appCheck = appCheck;
    }

    public Integer getAppNum() {
        return appNum;
    }

    public void setAppNum(Integer appNum) {
        this.appNum = appNum;
    }
}
